import request from '@/utils/request'

// 查询智能识别预警列表
export function listShibie(query) {
  return request({
    url: '/system/shibie/list',
    method: 'get',
    params: query
  })
}

// 查询智能识别预警详细
export function getShibie(id) {
  return request({
    url: '/system/shibie/' + id,
    method: 'get'
  })
}

// 新增智能识别预警
export function addShibie(data) {
  return request({
    url: '/system/shibie',
    method: 'post',
    data: data
  })
}

// 修改智能识别预警
export function updateShibie(data) {
  return request({
    url: '/system/shibie',
    method: 'put',
    data: data
  })
}

// 删除智能识别预警
export function delShibie(id) {
  return request({
    url: '/system/shibie/' + id,
    method: 'delete'
  })
}
